<template>
  <div id="app" v-on:click="test">
    <div class="ui circular image">
      <img src="http://www.semantic-ui.cn/images/avatar/small/elliot.jpg"/>
    </div>
  </div>
</template>

<script>
  import jQuery from 'jquery'

  export default {
    name: 'app',
    data: function () {
      return {}
    },
    methods: {
      test: function () {
        jQuery('#app').css('background-color', '#ff0000')
      }
    }
  }
</script>

<style>
  #app {
    font-family: 'Avenir', Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: center;
    color: #2c3e50;
    margin-top: 60px;
  }
</style>
